package com.roshan.web.dto;

import java.io.Serializable;
import java.math.BigInteger;

/**
 * Class AuthenticatePasswordRecoveryCodeDetail
 * 
 * @author Dilshan Thambawita
 * 
 */
public class AuthenticatePasswordRecoveryCodeDetail implements Serializable {

    private String code;

    private String partnerUri;

    private String tenantUri;

    private BigInteger validDuration;

    private String type;

    /**
     * @return the code
     */
    public String getCode() {
        return code;
    }

    /**
     * @param code the code to set
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * @return the partnerUri
     */
    public String getPartnerUri() {
        return partnerUri;
    }

    /**
     * @param partnerUri the partnerUri to set
     */
    public void setPartnerUri(String partnerUri) {
        this.partnerUri = partnerUri;
    }

    /**
     * @return the tenantUri
     */
    public String getTenantUri() {
        return tenantUri;
    }

    /**
     * @param tenantUri the tenantUri to set
     */
    public void setTenantUri(String tenantUri) {
        this.tenantUri = tenantUri;
    }


    /**
     * @return the validDuration
     */
    public BigInteger getValidDuration() {
        return validDuration;
    }

    /**
     * @param validDuration the validDuration to set
     */
    public void setValidDuration(BigInteger validDuration) {
        this.validDuration = validDuration;
    }

    /**
     * @return the type
     */
    public String getType() {
        return type;
    }

    /**
     * @param type the type to set
     */
    public void setType(String type) {
        this.type = type;
    }

    /*
     * (non-Javadoc)
     * 
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "AuthenticatePasswordRecoveryCodeDetail [code=" + code + ", partnerUri=" + partnerUri + ", tenantUri="
                + tenantUri + ", validDuration=" + validDuration + ", type=" + type + "]";
    }

}
